<?php
@session_start();

include "../../../jerimum/classes/bd.php";
include "../../../jerimum/classes/descrever.php";
include "../../../jerimum/classes/clientes.php";

$_des	= new descrever(); #CLASSES
$_cli 	= new clientes();


$_des->id	= $_GET["resenha"];
$resenha	= $_des->pega();

$cliente	= $_cli->pega($resenha["idcliente"]);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$resenha['titulo']?></title>
<style type="text/css">
<!--
body,td,th {
	font-family: Verdana, Geneva, sans-serif;
	color: #333;
}
-->
</style></head>

<body>

<form action="cadastra.php" method="post">
<input type="hidden" name="idproduto" value="<?=$dados['id']?>" />
<div style="width:525px; margin:0px auto; background:#F0F0F0; padding:5px">
  <div id="review_body"><strong>POR</strong>: <?=$cliente['nome']?>
    <p>
      <label for="fullname"> <strong>FABRICANTE | MARCA | SELO</strong> <br />
      &gt;<?=$resenha['fabricante']?> <br />
      <br />
      <strong>ANO DE FABRICAÇÃO</strong><br />
      &gt;<?=$resenha['ano']?> <br />
      <br />
      <strong>COR</strong><br />
      &gt;<?=htmlentities($resenha['cor'])?><br />
      <br />
      <strong>PESO | MEDIDA</strong> <br />
      &gt; <?=$resenha['peso']?><br />
      <br />
      <strong>GARANTIA</strong> <br />
      &gt;<?=$resenha['garantia']?><br />
      <br />
      <strong>SÉRIE | MODELO | ESPECIFICAÇÕES</strong><br />
      &gt;<?=htmlentities($resenha['serie'])?>  </label></p>
    <p><img src="http://i.pgcdn.com/images/spacer.gif" width="11" height="1" /></p>
  </div>


<input name="Reset" type="button" class="gh-btn" id="button" value="Fechar" style="background-color:#333333; color:#FFFFFF; cursor:pointer" onclick="javascript:window.close();" />
</div>
</form>
</body>
</html>